completing the sqaure with a number in front